import {Pipe, PipeTransform} from '@angular/core';

@Pipe({
  name: 'dateSplitSpace'
})
export class DateSplitSpacePipe implements PipeTransform {

  transform(value: string, ...args: unknown[]): string {
    let res = '';
    res = value.split(' ')[0];
    return res;
  }

}
